3.212 \(\int \frac {\sqrt {1+x^2}}{\sqrt {-1+x^4}} \, dx\)

Optimal. Leaf size=24 \[ -\frac {\sqrt {x^4-1} \sin ^{-1}(x)}{\sqrt {1-x^4}} \]

[Out]

-arcsin(x)*(x^4-1)^(1/2)/(-x^4+1)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 40, normalized size of antiderivative = 1.67, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {1152, 217, 206} \[ \frac {\sqrt {x^2-1} \sqrt {x^2+1} \tanh ^{-1}\left (\frac {x}{\sqrt {x^2-1}}\right )}{\sqrt {x^4-1}} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[1 + x^2]/Sqrt[-1 + x^4],x]

[Out]

(Sqrt[-1 + x^2]*Sqrt[1 + x^2]*ArcTanh[x/Sqrt[-1 + x^2]])/Sqrt[-1 + x^4]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 1152

Int[((d_) + (e_.)*(x_)^2)^(q_)*((a_) + (c_.)*(x_)^4)^(p_), x_Symbol] :> Dist[(a + c*x^4)^FracPart[p]/((d + e*x
^2)^FracPart[p]*(a/d + (c*x^2)/e)^FracPart[p]), Int[(d + e*x^2)^(p + q)*(a/d + (c*x^2)/e)^p, x], x] /; FreeQ[{
a, c, d, e, p, q}, x] && EqQ[c*d^2 + a*e^2, 0] &&  !IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {\sqrt {1+x^2}}{\sqrt {-1+x^4}} \, dx &=\frac {\left (\sqrt {-1+x^2} \sqrt {1+x^2}\right ) \int \frac {1}{\sqrt {-1+x^2}} \, dx}{\sqrt {-1+x^4}}\\ &=\frac {\left (\sqrt {-1+x^2} \sqrt {1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt {-1+x^2}}\right )}{\sqrt {-1+x^4}}\\ &=\frac {\sqrt {-1+x^2} \sqrt {1+x^2} \tanh ^{-1}\left (\frac {x}{\sqrt {-1+x^2}}\right )}{\sqrt {-1+x^4}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 34, normalized size = 1.42 \[ \log \left (x^3+\sqrt {x^2+1} \sqrt {x^4-1}+x\right )-\log \left (x^2+1\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[1 + x^2]/Sqrt[-1 + x^4],x]

[Out]

-Log[1 + x^2] + Log[x + x^3 + Sqrt[1 + x^2]*Sqrt[-1 + x^4]]

________________________________________________________________________________________

fricas [B]  time = 0.88, size = 65, normalized size = 2.71 \[ \frac {1}{2} \, \log \left (\frac {x^{3} + \sqrt {x^{4} - 1} \sqrt {x^{2} + 1} + x}{x^{3} + x}\right ) - \frac {1}{2} \, \log \left (-\frac {x^{3} - \sqrt {x^{4} - 1} \sqrt {x^{2} + 1} + x}{x^{3} + x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^2+1)^(1/2)/(x^4-1)^(1/2),x, algorithm="fricas")

[Out]

1/2*log((x^3 + sqrt(x^4 - 1)*sqrt(x^2 + 1) + x)/(x^3 + x)) - 1/2*log(-(x^3 - sqrt(x^4 - 1)*sqrt(x^2 + 1) + x)/
(x^3 + x))

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {x^{2} + 1}}{\sqrt {x^{4} - 1}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^2+1)^(1/2)/(x^4-1)^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(x^2 + 1)/sqrt(x^4 - 1), x)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 33, normalized size = 1.38 \[ \frac {\sqrt {x^{4}-1}\, \ln \left (x +\sqrt {x^{2}-1}\right )}{\sqrt {x^{2}+1}\, \sqrt {x^{2}-1}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^2+1)^(1/2)/(x^4-1)^(1/2),x)

[Out]

1/(x^2+1)^(1/2)*(x^4-1)^(1/2)/(x^2-1)^(1/2)*ln(x+(x^2-1)^(1/2))

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {x^{2} + 1}}{\sqrt {x^{4} - 1}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^2+1)^(1/2)/(x^4-1)^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(x^2 + 1)/sqrt(x^4 - 1), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.04 \[ \int \frac {\sqrt {x^2+1}}{\sqrt {x^4-1}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^2 + 1)^(1/2)/(x^4 - 1)^(1/2),x)

[Out]

int((x^2 + 1)^(1/2)/(x^4 - 1)^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {x^{2} + 1}}{\sqrt {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x**2+1)**(1/2)/(x**4-1)**(1/2),x)

[Out]

Integral(sqrt(x**2 + 1)/sqrt((x - 1)*(x + 1)*(x**2 + 1)), x)

________________________________________________________________________________________